// Initial File - Paul Jack


#ifndef __USBASYNCMGR_H__
#define __USBASYNCMGR_H__

// JUNGO Includes
#include <wdu_lib.h>
#include <status_strings.h>
#include <utils.h>


#include "usbmain.h"
#include "asyncmgrbase.h"

#define DEFAULT_USB_BUFFER_SIZE 512


class UsbAsyncMgr: public AsyncMgrBase
{
    Q_OBJECT

public:
    /// Initialize the class with a device name to connect to.
    UsbAsyncMgr(QString name = QString("NOT SET"), QString deviceId = QString("NOT SET"), quint32 bufferSize = DEFAULT_USB_BUFFER_SIZE);

    
public slots:
    virtual void checkForConnection(bool attached, QList<UsbDevice *> deviceList);

signals:
    void connectionStatus( bool );
    
};


#endif __USBASYNCMGR_H__
